package studentPair.threads;import java.util.LinkedList;import studentPair.algorithm.StudentPairAlgorithm;import studentPair.model.StudentPairInfoModel;public class StudentPairedThread extends Thread {	private StudentPairAlgorithm studentPairAlgorithm = null;	public StudentPairedThread(String pairAlgorithmName,LinkedList<StudentPairInfoModel> unPairedStudentList, WriteDbThread writeDbThread,String wakeUpTimeInterval) throws Exception {		studentPairAlgorithm = StudentPairAlgorithm.getInstance(pairAlgorithmName, unPairedStudentList, writeDbThread,wakeUpTimeInterval);	}	@Override	public void run() {		studentPairAlgorithm.startPair();	}}